package com.yyp.car.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.hdw.basic.dao.BaseDao;
import com.yyp.car.Idao.ISchoolDao;
import com.yyp.car.model.School;

@Repository("schoolDao")
public class SchoolDao extends BaseDao<School> implements ISchoolDao{
	@Override
	public List<School> listSchool() {
		String hql="from School order by id asc";
		return this.list(hql);
	}
	

}
